# class Children(object):
#     def __init__(self,name,age):
#         self.name = name
#         self.age = age
#     def run(self):
#         print('儿童爱跑步')
#     @staticmethod
#     def eat():
#         print('儿童爱吃')
#     @staticmethod
#     def drink():
#         print('儿童爱喝')
#
#
# Children.eat()
# Children.drink()
# Children.run()
class Game(object):
    top_score = 0
    def __init__(self,player_name):
        self.palyer_name = player_name
    @staticmethod
    def show_help():
        print('显示游戏帮助信息')
    @classmethod
    def show_top_score(cls):
        print(f'最高分为{cls.top_score}')
    def start_game(self):
        print(f'{self.palyer_name}开始游戏')
        Game.top_score = 999



Game.show_help()
Game.show_top_score()
n1 = Game('小明')
n1.start_game()
# print(n1)
Game.show_top_score()
